derive(Error) for no_std environments
This is a fork of thiserror using the nightly only, experimental error_in_core feature in no_std environments.
Usage
// Cargo.toml
[]
= { = "1.0", = "thiserror-core", = false }
Compiler support: requires rustc 1.56+ @@ -23,200 +18,16 @@ thiserror = "1.0"
Example
// main.rs / lib.rs
Differences between thiserror and thiserror-core
Differences are kept to a minimum and changes in thiserror master will be adopted by rebasing thiserror-core.
With the default std
feature enabled, any functional difference between thiserror and thiserror-core is considered a bug.
As soon as equivalent changes are adopted, this crate will be updated to re-export thiserror.